package com.tyoj.tyojbackendclient.service;


import com.tyoj.model.entity.QuestionThumb;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 判题服务
 */
@FeignClient(name = "tyoj-backend-judge-service", path = "/api/judge/inner")
public interface JudgeFeignClient {

    @PostMapping("/do")
    QuestionThumb doJudge(@RequestParam("questionSubmitId") long questionSubmitId);

}
